package com.augmentum.login.service;

import java.util.List;

import com.augmentum.login.exception.ParamException;
import com.augmentum.login.exception.ServiceException;
import com.augmentum.login.model.Page;
import com.augmentum.login.model.Question;

public interface QuestionService {

    public List<Question> getQuestionList();
    public void removeQuestion(String questionId);
    public void addQuestion(Question question) throws ParamException, ServiceException;
    public void modifyQuestion(Question question) throws ParamException;
    public Question getQuestion(String questionId);
    public void removeBathcQuestions(String questionStr, String type);
    public List<Question> searchQuestionsByPage(String description, String order, Page page);
    public int getQuestionCount(String value);

    public Question getQuestion(int id);
}
